<template>
  <basic-container>
    <avue-crud
        v-bind="bindVal"
        v-on="onEvent"
        :page.sync="page"
        v-model="startForm">
      <template v-for="(column,index) in columns" :slot="column.prop" slot-scope="{type,size,row}">
        <component :is="column.columnComponent" :row="row" :rowKey="column.prop" :column="column" :key="row.id+':'+index"></component>
      </template>
      <!--      <template slot-scope="{type,size,row}" slot="menuBtn">-->
      <!--        <el-dropdown-item icon="el-icon-edit" v-if="row.taskType==='user'" :size="size" @click.native="handlerTask(row)" :type="type">处理任务-->
      <!--        </el-dropdown-item>-->
      <!--        <el-dropdown-item icon="el-icon-edit" v-if="row.taskType==='group'" :size="size" @click.native="pickUpTheMyTask(row)" :type="type">拾取任务-->
      <!--        </el-dropdown-item>-->
      <!--      </template>-->
    </avue-crud>
  </basic-container>
</template>

<script>
import startCrud from "@/mixins/start-crud.js"

export default startCrud({
  name: "myApply"
}, {
  name: "activiti/ActBusiness", list: "getMyList"
})
</script>

<style scoped>

</style>
